//多入口，文件路径的\\和/跟操作系统也有关系，需要注意
const getEntry = require('./entry.config');
const _ = require('underscore');
const compile=require('../src/index')
let entrys = getEntry(compile.compileList, 'src', compile.superfluous);
const paths = require('./paths');
//默认目录
entrys = { ...{ index: '\\index.js' }, ...entrys };

//多入口，入口文件
module.exports = _.mapObject(entrys, val => [
  require.resolve('./polyfills'),
  paths.appSrc + val
]);
